package com.ssi.myshop.bean;

import java.util.List;

public class AddCarBean {
    @Override
    public String toString() {
        return "AddCarBean{" +
                "number=" + number +
                ", score=" + score +
                ", price=" + price +
                ", shopList=" + shopList +
                ", goodsStatus=" + goodsStatus +
                ", items=" + items +
                '}';
    }

    /**
     * number : 1
     * score : 0
     * shopList : [{"id":0,"name":"其他","serviceDistance":99999999}]
     * goodsStatus : [{"id":806045,"sellEnd":false,"sellStart":true,"status":0,"statusStr":"上架","stores":34}]
     * price : 159
     * items : [{"key":"c3daf54d4a21942bb28604f51701f736","goodsId":806045,"number":1,"categoryId":215454,"shopId":0,"score":0,"pic":"https://cdn.it120.cc/apifactory/2019/06/25/455e2434-ad8b-4bab-a4d7-724427b16228.gif","name":"夹克外套","minBuyNumber":1,"weight":0,"logisticsId":53652,"price":159,"selected":true,"stores":34,"status":0,"statusStr":"上架"}]
     */

    private int number;
    private int score;
    private int price;
    private List<ShopListBean> shopList;
    private List<GoodsStatusBean> goodsStatus;
    private List<ItemsBean> items;

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public List<ShopListBean> getShopList() {
        return shopList;
    }

    public void setShopList(List<ShopListBean> shopList) {
        this.shopList = shopList;
    }

    public List<GoodsStatusBean> getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(List<GoodsStatusBean> goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ShopListBean {
        @Override
        public String toString() {
            return "ShopListBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", serviceDistance=" + serviceDistance +
                    '}';
        }

        /**
         * id : 0
         * name : 其他
         * serviceDistance : 99999999
         */

        private int id;
        private String name;
        private int serviceDistance;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getServiceDistance() {
            return serviceDistance;
        }

        public void setServiceDistance(int serviceDistance) {
            this.serviceDistance = serviceDistance;
        }
    }

    public static class GoodsStatusBean {
        @Override
        public String toString() {
            return "GoodsStatusBean{" +
                    "id=" + id +
                    ", sellEnd=" + sellEnd +
                    ", sellStart=" + sellStart +
                    ", status=" + status +
                    ", statusStr='" + statusStr + '\'' +
                    ", stores=" + stores +
                    '}';
        }

        /**
         * id : 806045
         * sellEnd : false
         * sellStart : true
         * status : 0
         * statusStr : 上架
         * stores : 34
         */

        private int id;
        private boolean sellEnd;
        private boolean sellStart;
        private int status;
        private String statusStr;
        private int stores;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isSellEnd() {
            return sellEnd;
        }

        public void setSellEnd(boolean sellEnd) {
            this.sellEnd = sellEnd;
        }

        public boolean isSellStart() {
            return sellStart;
        }

        public void setSellStart(boolean sellStart) {
            this.sellStart = sellStart;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStatusStr() {
            return statusStr;
        }

        public void setStatusStr(String statusStr) {
            this.statusStr = statusStr;
        }

        public int getStores() {
            return stores;
        }

        public void setStores(int stores) {
            this.stores = stores;
        }
    }

    public static class ItemsBean {
        @Override
        public String toString() {
            return "ItemsBean{" +
                    "key='" + key + '\'' +
                    ", goodsId=" + goodsId +
                    ", number=" + number +
                    ", categoryId=" + categoryId +
                    ", shopId=" + shopId +
                    ", score=" + score +
                    ", pic='" + pic + '\'' +
                    ", name='" + name + '\'' +
                    ", minBuyNumber=" + minBuyNumber +
                    ", weight=" + weight +
                    ", logisticsId=" + logisticsId +
                    ", price=" + price +
                    ", selected=" + selected +
                    ", stores=" + stores +
                    ", status=" + status +
                    ", statusStr='" + statusStr + '\'' +
                    '}';
        }

        /**
         * key : c3daf54d4a21942bb28604f51701f736
         * goodsId : 806045
         * number : 1
         * categoryId : 215454
         * shopId : 0
         * score : 0
         * pic : https://cdn.it120.cc/apifactory/2019/06/25/455e2434-ad8b-4bab-a4d7-724427b16228.gif
         * name : 夹克外套
         * minBuyNumber : 1
         * weight : 0
         * logisticsId : 53652
         * price : 159
         * selected : true
         * stores : 34
         * status : 0
         * statusStr : 上架
         */

        private String key;
        private int goodsId;
        private int number;
        private int categoryId;
        private int shopId;
        private int score;
        private String pic;
        private String name;
        private int minBuyNumber;
        private int weight;
        private int logisticsId;
        private int price;
        private boolean selected;
        private int stores;
        private int status;
        private String statusStr;

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public int getShopId() {
            return shopId;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getMinBuyNumber() {
            return minBuyNumber;
        }

        public void setMinBuyNumber(int minBuyNumber) {
            this.minBuyNumber = minBuyNumber;
        }

        public int getWeight() {
            return weight;
        }

        public void setWeight(int weight) {
            this.weight = weight;
        }

        public int getLogisticsId() {
            return logisticsId;
        }

        public void setLogisticsId(int logisticsId) {
            this.logisticsId = logisticsId;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public boolean isSelected() {
            return selected;
        }

        public void setSelected(boolean selected) {
            this.selected = selected;
        }

        public int getStores() {
            return stores;
        }

        public void setStores(int stores) {
            this.stores = stores;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStatusStr() {
            return statusStr;
        }

        public void setStatusStr(String statusStr) {
            this.statusStr = statusStr;
        }
    }
}
